<%@ page language="java" import="java.util.*,com.sirenbang.easyshop.config.*" pageEncoding="UTF-8"%>
<%@ include  file="/jsps/front/common/taglibs.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
  <head>
    <title>顾客 ${loginedCustomer.userName} 的服务页面 -</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">

<link rel="stylesheet" type="text/css" href="<c:url value="/jsps/front/css/shop_main.css"/>">
<link rel="stylesheet" type="text/css" href="<c:url value="/jsps/front/css/head.css"/>">
<link rel="stylesheet" type="text/css" href="<c:url value="/jsps/front/css/customer_home.css"/>">

  </head>
 
<body style="background-color: #769b72;">
<div id="allcontent">
	<div id="containerDiv">
		<!--页头开始-->
		
		<div width="100%">
    		 <c:import url="/jsps/front/head.jsp"></c:import>
		</div>
		<!--页头结束-->
		<div style="background-color:#FFFFFF; 
					width:100%;
					height:20px; 
					margin-bottom:3px;"></div>
		
		<DIV class=mdtitle_shadow></DIV>
		<!--页体开始-->
		<div id="containerBodyDiv" style="margin-top:5px;">
			<div id="leftBody">
				<DIV class=doc_left_gr>
						<DIV class=left_gr_pic>
							
							<IMG id=picimg height=35 src="<c:url value="/jsps/front/images/home/default.gif" />" width=35>
						</DIV>
						<DIV class=left_gr_text>
							<DIV class=my_nickname id=usernamediv>
								用户名:${loginedCustomer.userName}
							</DIV>
							
						</DIV>
						<DIV class=clear></DIV>
				</DIV>
				
				<DIV class=left_dd>
						<DIV class=title>
							个人信息管理
						</DIV>
						<UL>
							<LI>
								<A href="<c:url value="/jsps/front/customer/info.jsp"/>" target="mainFrame">修改个人信息</A>
							</LI>
							<LI>
								<A href="<c:url value="/jsps/front/customer/myinfo.jsp"/>" target="mainFrame">修改密码</A>
							</LI>
							<LI>
								<A onclick="alert('功能建设中');">我的留言板</A>
							</LI>
							<LI>
								<A onclick="alert('功能建设中');">我的关注</A>
							</LI>
						</UL>
				</DIV>

				<DIV class=left_dd>
						<DIV class=title>
							订单/账户管理
						</DIV>
						<UL>
							<LI>
								<A href="<c:url value="/goodMgr?act=orderList&name=${loginedCustomer.userName }"/>" target="mainFrame">我的订单</A>
							</LI>
							<LI>
								<A onclick="alert('功能建设中');">退换货记录</A>
							</LI>
							<LI>
								<A onclick="alert('功能建设中');">账户余额</A>
							</LI>
							<LI>
								<A onclick="alert('功能建设中');">购物礼券</A>
							</LI>
							<LI>
								<A onclick="alert('功能建设中');">礼品卡</A>
							</LI>
						</UL>
				</DIV>
				
				<DIV class=left_dd>
						<DIV class=title>
							自助服务管理
						</DIV>
						<UL>
							<LI>
								<A onclick="alert('功能建设中');">配送进度查询</A>
							</LI>
							<LI>
								<A onclick="alert('功能建设中');">订单查询与取消</A>
							</LI>
							<LI>
								<A onclick="alert('功能建设中');">自动退换货</A>
							</LI>
							<LI>
								<A onclick="alert('功能建设中');">退换货进度查询</A>
							</LI>
						</UL>
				</DIV>
				
			</div>
			
			
			<div id="rightBody">
				<iframe style="width:100%;
							   height:960px;
							   margin:0px;
							   padding:0px;"
					    src="<c:url value="/jsps/front/customer/info.jsp"/>" 
						frameborder="0"
						name="mainFrame"
						id="mainFrame"
    					scrolling="no">
    			</iframe>
			</div>
			
		</div>
		<!--页体结束-->
	</div>

<div style="clear:both;"></div>
	        <div id="footer" style="margin-top:10px;width:960px;border-top:1px solid; COLOR: #404040;COLOR: #666; text-align:center; background-color:#fff;font-size:12px;">
	            <%=VersionInfo.buildFooterStr()%>       
	        </div>
</div>
</body>
<script type="text/javascript">
	//自动调整IFRAME大小
	function iframeResize(){
		var iframe = $("mainFrame");
		var bHeight = iframe.contentWindow.document.body.scrollHeight;

		var dHeight = iframe.contentWindow.document.documentElement.scrollHeight;

		var height = Math.max(bHeight, dHeight);

		iframe.height =  height;
	}
	
	window.setInterval("iframeResize();", 200);
</script>
</html>
